#ifndef _PAD_H
#define _PAD_H

#include <Wt/WContainerWidget>
#include <Wt/WLength>

class Pad : public Wt::WContainerWidget
{
public:
	Pad(Wt::WLength width, Wt::WLength height, Wt::WContainerWidget *parent = 0)
		: WContainerWidget(parent)
	{
		setMinimumSize(width, height);
	}
};

class HorizontalPad : public Pad
{
public:
	HorizontalPad(int width)
		: Pad(Wt::WLength(width), Wt::WLength())
	{
	}
};

class VerticalPad : public Pad
{
public:
	VerticalPad(int height)
		: Pad(Wt::WLength(), Wt::WLength(height))
	{
	}
};

#endif
